package com.rovinj_server.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by HELONGHUA on 2017/5/8.
 * 盘点任务
 */
public class InventoryTask implements Serializable {
    private static final long serialVersionUID = 1L;
    public int id; //主键
    public String name; //盘点人
    public String code;//任务单号
    public int qty;//盘点总数量
    public int spQty;//实盘数量
    public int diffQty;//差异数量
    public String range;//盘点范围
    public String crDate;//创建日期
    public String endData;//完成日期
    public String state;//完成日期
    private List<InventorySub> inventorySubList;
    private List<InventoryTaskSub> inventoryTaskSub;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public int getSpQty() {
        return spQty;
    }

    public void setSpQty(int spQty) {
        this.spQty = spQty;
    }

    public int getDiffQty() {
        return diffQty;
    }

    public void setDiffQty(int diffQty) {
        this.diffQty = diffQty;
    }

    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }

    public String getCrDate() {
        return crDate;
    }

    public void setCrDate(String crDate) {
        this.crDate = crDate;
    }

    public String getEndData() {
        return endData;
    }

    public void setEndData(String endData) {
        this.endData = endData;
    }

    public List<InventorySub> getInventorySubList() {
        return inventorySubList;
    }

    public void setInventorySubList(List<InventorySub> inventorySubList) {
        this.inventorySubList = inventorySubList;
    }

    public List<InventoryTaskSub> getInventoryTaskSub() {
        return inventoryTaskSub;
    }

    public void setInventoryTaskSub(List<InventoryTaskSub> inventoryTaskSub) {
        this.inventoryTaskSub = inventoryTaskSub;
    }
}
